﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_Edit.aspx.cs" Inherits="sy_Admin_Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
     <link href="img/admin_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#cccccc">
<tr>
<th height="34" colspan="2" align="center" bgcolor="#757575"  class="font_1">管理员密码修改</th>
</tr>
<tr>
<td width="20%" align="right" bgcolor="#F2F2F2" class="font_2">请输入旧密码：</td>
<td width="80%" bgcolor="#FFFFFF">
<asp:TextBox ID="TextBox1" runat="server" Width="222px" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
Display="Dynamic" ErrorMessage="旧密码不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" bgcolor="#F2F2F2" class="font_2">请输入新密码：</td>
<td bgcolor="#FFFFFF">
<asp:TextBox ID="TextBox2" runat="server" Width="222px" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
Display="Dynamic" ErrorMessage="新密码不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" bgcolor="#F2F2F2" class="font_2">请确认新密码：</td>
<td bgcolor="#FFFFFF">
<asp:TextBox ID="TextBox3" runat="server" Width="222px" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3"
Display="Dynamic" ErrorMessage="重复密码不能为空"></asp:RequiredFieldValidator>&nbsp;
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2"
ControlToValidate="TextBox3" Display="Dynamic" ErrorMessage="两次输入密码不相同"></asp:CompareValidator></td>
</tr>
<tr>
  <th align="right" bgcolor="#FFFFFF" class="font_2">&nbsp;</th>
  <td bgcolor="#FFFFFF"><asp:Button ID="btnAdmin_Edit" runat="server" Text="确定修改" OnClick="btnAdmin_Edit_Click"/>
<input type="reset" name="button5" id="button6" value="重 设" /></td>
</tr>
</table>


    </form>
</body>
</html>
